import os
from celery import Celery
import django
app = Celery("lyapi")
os.environ.setdefault('DJANGO_SETTINGS_MODULE','lyapi.settings.dev')
django.setup()

app.config_from_object("mycelery.config")
app.autodiscover_tasks(["mycelery.sms",])
